package com.terry.test3;

/**
 * https://www.pudn.com/news/6288ab2616e0ca7141fb33f5.html#%C2%A096%E3%80%90%E7%81%AB%E9%94%85%E3%80%91
 * @author 小八
 * @date 2023年02月10日15:18
 */
public class Title16 {

    public static void main(String[] args) {
        int n = 2;
        int m = 1;
        int[] timeArr = new int[]{3,3};
        int count = 1;
        for(int i=1;i<n;i++){
            if(timeArr[i] - timeArr[i-1]>=m){
                count++;
            }
        }

    }

}
